package nl.hva.three2learn.util;

import nl.hva.three2learn.model.User;

public class Validate {
	
	/*
	 * Compares password with the required password in user.
	 */
	public static boolean user(User user, String password) {
		return user.getPassword().equals(password);
	}
}
